/**
 * @(#)TaskDataBean.java 2017年6月5日
 * Copyright(C) 2017年6月5日 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian;


import java.util.Date;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.jsbd.boss.common.DataGridModel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 数据增量bean
 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
 * @version 1.0.0
 */
public class DataIncBean {
	
	public static final Logger LOGGER = LoggerFactory.getLogger(DataIncBean.class);
	
	public static final int INT_INC=1;
	
	public static final int DATE_INC=2;
	
	private Integer id;
	/**
	 * 1表示int类型增量，2表示时间增量
	 */
	private int incType;
	private String incValue;
	private String incAlias;
	private String incName;
	private String sourceSql;
	private String targetSql;
	private String mappingStr;
	private String startDay;
	private Integer intervalTime;
	private Integer tempInc;
	private Date tempEndTime;
	private DataGridModel pageInfo;
	private Integer status;
	
	private String modifyTime;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getIncValue() {
		return incValue;
	}
	public void setIncValue(String incValue) {
		this.incValue = incValue;
	}
	public String getIncName() {
		return incName;
	}
	public void setIncName(String incName) {
		this.incName = incName;
	}
	public String getSourceSql() {
		return sourceSql;
	}
	public void setSourceSql(String sourceSql) {
		this.sourceSql = sourceSql;
	}
	public String getTargetSql() {
		return targetSql;
	}
	public void setTargetSql(String targetSql) {
		this.targetSql = targetSql;
	}
	public String getMappingStr() {
		return mappingStr;
	}
	public void setMappingStr(String mappingStr) {
		this.mappingStr = mappingStr;
	}
	public int getIncType() {
		return incType;
	}
	public void setIncType(int incType) {
		this.incType = incType;
	}
	public String getStartDay() {
		return startDay;
	}
	public void setStartDay(String startDay) {
		this.startDay = startDay;
	}
	public Integer getIntervalTime() {
		return intervalTime;
	}
	public void setIntervalTime(Integer intervalTime) {
		this.intervalTime = intervalTime;
	}
	public Integer getTempInc() {
		return tempInc;
	}
	public void setTempInc(Integer tempInc) {
		this.tempInc = tempInc;
	}
	
	public Date getTempEndTime() {
		return tempEndTime;
	}
	public void setTempEndTime(Date tempEndTime) {
		this.tempEndTime = tempEndTime;
	}
	
	public DataGridModel getPageInfo() {
		return pageInfo;
	}
	public void setPageInfo(DataGridModel pageInfo) {
		this.pageInfo = pageInfo;
	}
	
	public String getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}
	
	public String getIncAlias() {
		return incAlias;
	}
	public void setIncAlias(String incAlias) {
		this.incAlias = incAlias;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
	
}
